/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2021-2022.
 * Description: header for defining null trace funciton and reducing image size.
 * Author: liangfangping
 * Create: 2021-3-24
 */

#ifndef RTOS_TRACE_H
#define RTOS_TRACE_H

#ifdef CONFIG_RTOS_KERNEL_REDUCE_SIZE
/* trace rdev opretions */
#define trace_rdev_suspend(a, b) do { } while (0)
#define trace_rdev_return_int(a, b) do { } while (0)
#define trace_rdev_scan(a, b) do { } while (0)
#define trace_rdev_resume(a) do { } while (0)
#define trace_rdev_return_void(a) do { } while (0)
#define trace_rdev_get_antenna(a) do { } while (0)
#define trace_rdev_rfkill_poll(a) do { } while (0)
#define trace_rdev_set_wakeup(a, b) do { } while (0)
#define trace_rdev_add_virtual_intf(a, b, c) do { } while (0)
#define trace_rdev_return_wdev(a, b)  do { } while (0)
#define trace_rdev_del_virtual_intf(a, b) do { } while (0)
#define trace_rdev_change_virtual_intf(a, b, c) do { } while (0)
#define trace_rdev_add_key(a, b, c, d, e, f) do { } while (0)
#define trace_rdev_get_key(a, b, c, d, e) do { } while (0)
#define trace_rdev_del_key(a, b, c, d, e) do { } while (0)
#define trace_rdev_set_default_key(a, b, c, d, e) do { } while (0)
#define trace_rdev_set_default_mgmt_key(a, b, c) do { } while (0)
#define trace_rdev_start_ap(a, b, c) do { } while (0)
#define trace_rdev_change_beacon(a, b, c) do { } while (0)
#define trace_rdev_stop_ap(a, b) do { } while (0)
#define trace_rdev_sched_scan_stop(a, b, c) do { } while (0)
#define trace_rdev_set_rekey_data(a, b) do { } while (0)
#define trace_rdev_get_mesh_config(a, b) do { } while (0)
#define trace_rdev_leave_mesh(a, b) do { } while (0)
#define trace_rdev_leave_ibss(a, b) do { } while (0)
#define trace_rdev_leave_ocb(a, b) do { } while (0)
#define trace_rdev_flush_pmksa(a, b) do { } while (0)
#define trace_rdev_add_station(a, b, c, d) do { } while (0)
#define trace_rdev_change_station(a, b, c, d) do { } while (0)
#define trace_rdev_del_station(a, b, c) do { } while (0)
#define trace_rdev_get_station(a, b, c) do { } while (0)
#define trace_rdev_del_mpath(a, b, c) do { } while (0)
#define trace_rdev_set_wds_peer(a, b, c) do { } while (0)
#define trace_rdev_dump_station(a, b, c, d) do { } while (0)
#define trace_rdev_return_int_station_info(a, b, c) do { } while (0)
#define trace_rdev_add_mpath(a, b, c, d) do { } while (0)
#define trace_rdev_change_mpath(a, b, c, d) do { } while (0)
#define trace_rdev_get_mpath(a, b, c, d) do { } while (0)
#define trace_rdev_dump_mpath(a, b, c, d, e) do { } while (0)
#define trace_rdev_get_mpp(a, b, c, d) do { } while (0)
#define trace_rdev_dump_mpp(a, b, c, d, e) do { } while (0)
#define trace_rdev_return_int_mpath_info(a, b, c) do { } while (0)
#define trace_rdev_return_int_mesh_config(a, b, c) do { } while (0)
#define trace_rdev_update_mesh_config(a, b, c, d) do { } while (0)
#define trace_rdev_join_mesh(a, b, c, d) do { } while (0)
#define trace_rdev_change_bss(a, b, c) do { } while (0)
#define trace_rdev_set_txq_params(a, b, c) do { } while (0)
#define trace_rdev_libertas_set_mesh_channel(a, b, c) do { } while (0)
#define trace_rdev_set_monitor_channel(a, b) do { } while (0)
#define trace_rdev_auth(a, b, c) do { } while (0)
#define trace_rdev_assoc(a, b, c) do { } while (0)
#define trace_rdev_deauth(a, b, c) do { } while (0)
#define trace_rdev_disassoc(a, b, c) do { } while (0)
#define trace_rdev_mgmt_tx_cancel_wait(a, b, c) do { } while (0)
#define trace_rdev_set_power_mgmt(a, b, c, d) do { } while (0)
#define trace_rdev_connect(a, b, c) do { } while (0)
#define trace_rdev_set_cqm_rssi_config(a, b, c, d) do { } while (0)
#define trace_rdev_set_cqm_txe_config(a, b, c, d, e) do { } while (0)
#define trace_rdev_disconnect(a, b, c) do { } while (0)
#define trace_rdev_join_ibss(a, b, c) do { } while (0)
#define trace_rdev_join_ocb(a, b, c) do { } while (0)
#define trace_rdev_set_wiphy_params(a, b) do { } while (0)
#define trace_rdev_get_tx_power(a, b) do { } while (0)
#define trace_rdev_set_tx_power(a, b, c, d) do { } while (0)
#define trace_rdev_return_int_int(a, b, c) do { } while (0)
#define trace_rdev_set_default_beacon_key(a, b, c) do { } while (0)
#define trace_rdev_abort_scan(a, b) do { } while (0)
#define trace_rdev_update_connect_params(a, b, c, d) do { } while (0)
#define trace_rdev_set_multicast_to_unicast(a, b, c) do { } while (0)
#define trace_rdev_get_txq_stats(a, b) do { } while (0)
#define trace_rdev_tx_control_port(a, b, c, d, e, f, g) do { } while (0)
#define trace_rdev_set_cqm_rssi_range_config(a, b, c, d) do { } while (0)
#define trace_rdev_update_mgmt_frame_registrations(a, b, c) do { } while (0)
#define trace_rdev_start_nan(a, b, c) do { } while (0)
#define trace_rdev_stop_nan(a, b) do { } while (0)
#define trace_rdev_add_nan_func(a, b, c) do { } while (0)
#define trace_rdev_del_nan_func(a, b, c) do { } while (0)
#define trace_rdev_nan_change_conf(a, b, c, d) do { } while (0)
#define trace_rdev_start_radar_detection(a, b, c, d) do { } while (0)
#define trace_rdev_end_cac(a, b) do { } while (0)
#define trace_rdev_set_mcast_rate(a, b, c) do { } while (0)
#define trace_rdev_set_coalesce(a, b) do { } while (0)
#define trace_rdev_set_pmk(a, b, c) do { } while (0)
#define trace_rdev_del_pmk(a, b, c) do { } while (0)
#define trace_rdev_get_ftm_responder_stats(a, b, c) do { } while (0)
#define trace_rdev_start_pmsr(a, b, c) do { } while (0)
#define trace_rdev_abort_pmsr(a, b, c) do { } while (0)
#define trace_rdev_update_owe_info(a, b, c) do { } while (0)
#define trace_rdev_probe_mesh_link(a, b, c, d, e) do { } while (0)
#define trace_rdev_set_tid_config(a, b, c) do { } while (0)
#define trace_rdev_reset_tid_config(a, b, c, e) do { } while (0)
#ifdef CONFIG_NL80211_TESTMODE
#define trace_rdev_testmode_cmd(a, b) do { } while (0)
#define trace_rdev_testmode_dump(a) do { } while (0)
#endif
#define trace_rdev_set_bitrate_mask(a, b, c, d) do { } while (0)
#define trace_rdev_return_int_tx_rx(a, b, c, d) do { } while (0)
#define trace_rdev_set_antenna(a, b, c) do { } while (0)
#define trace_rdev_sched_scan_start(a, b, c) do { } while (0)
#define trace_rdev_tdls_mgmt(a, b, c, d, e, f, g, h, i, j) do { } while (0)
#define trace_rdev_dump_survey(a, b, c) do { } while (0)
#define trace_rdev_return_int_survey_info(a, b, c) do { } while (0)
#define trace_rdev_tdls_oper(a, b, c, d) do { } while (0)
#define trace_rdev_probe_client(a, b, c) do { } while (0)
#define trace_rdev_set_pmksa(a, b, c) do { } while (0)
#define trace_rdev_del_pmksa(a, b, c) do { } while (0)
#define trace_rdev_remain_on_channel(a, b, c, d) do { } while (0)
#define trace_rdev_return_int_cookie(a, b, c) do { } while (0)
#define trace_rdev_cancel_remain_on_channel(a, b, c) do { } while (0)
#define trace_rdev_mgmt_tx(a, b, c) do { } while (0)
#define trace_rdev_set_noack_map(a, b, c) do { } while (0)
#define trace_rdev_get_channel(a, b) do { } while (0)
#define trace_rdev_return_chandef(a, b, c) do { } while (0)
#define trace_rdev_start_p2p_device(a, b) do { } while (0)
#define trace_rdev_stop_p2p_device(a, b) do { } while (0)
#define trace_rdev_set_mac_acl(a, b, c) do { } while (0)
#define trace_rdev_update_ft_ies(a, b, c) do { } while (0)
#define trace_rdev_crit_proto_start(a, b, c, d) do { } while (0)
#define trace_rdev_crit_proto_stop(a, b) do { } while (0)
#define trace_rdev_channel_switch(a, b, c) do { } while (0)
#define trace_rdev_set_qos_map(a, b, c) do { } while (0)
#define trace_rdev_set_ap_chanwidth(a, b, c) do { } while (0)
#define trace_rdev_add_tx_ts(a, b, c, d, e, f) do { } while (0)
#define trace_rdev_del_tx_ts(a, b, c, d) do { } while (0)
#define trace_rdev_tdls_channel_switch(a, b, c, d, e) do { } while (0)
#define trace_rdev_tdls_cancel_channel_switch(a, b, c) do { } while (0)
#define trace_rdev_external_auth(a, b, c) do { } while (0)

/* trace wireless configuration API */
#define trace_cfg80211_return_bool(a) do { } while (0)
#define trace_cfg80211_notify_new_peer_candidate(a, b) do { } while (0)
#define trace_cfg80211_send_rx_assoc(a, b) do { } while (0)
#define trace_cfg80211_rx_unprot_mlme_mgmt(a, b, c) do { } while (0)
#define trace_cfg80211_rx_mlme_mgmt(a, b, c) do { } while (0)
#define trace_cfg80211_tx_mlme_mgmt(a, b, c) do { } while (0)
#define trace_cfg80211_send_auth_timeout(a, b) do { } while (0)
#define trace_cfg80211_send_assoc_timeout(a, b) do { } while (0)
#define trace_cfg80211_michael_mic_failure(a, b, c, d, e) do { } while (0)
#define trace_cfg80211_ready_on_channel(a, b, c, d) do { } while (0)
#define trace_cfg80211_ready_on_channel_expired(a, b, c) do { } while (0)
#define trace_cfg80211_new_sta(a, b, c) do { } while (0)
#define trace_cfg80211_del_sta(a, b) do { } while (0)
#define trace_cfg80211_rx_mgmt(a, b, c) do { } while (0)
#define trace_cfg80211_mgmt_tx_status(a, b, c) do { } while (0)
#define trace_cfg80211_cqm_rssi_notify(a, b, c) do { } while (0)
#define trace_cfg80211_reg_can_beacon(a, b, c, d) do { } while (0)
#define trace_cfg80211_ch_switch_notify(a, b) do { } while (0)
#define trace_cfg80211_ch_switch_started_notify(a, b) do { } while (0)
#define trace_cfg80211_radar_event(a, b) do { } while (0)
#define trace_cfg80211_cac_event(a, b) do { } while (0)
#define trace_cfg80211_rx_spurious_frame(a, b) do { } while (0)
#define trace_cfg80211_rx_unexpected_4addr_frame(a, b) do { } while (0)
#define trace_cfg80211_ibss_joined(a, b, c) do { } while (0)
#define trace_cfg80211_probe_status(a, b, c, d) do { } while (0)
#define trace_cfg80211_cqm_pktloss_notify(a, b, c) do { } while (0)
#define trace_cfg80211_gtk_rekey_notify(a, b) do { } while (0)
#define trace_cfg80211_pmksa_candidate_notify(a, b, c, d) do { } while (0)
#define trace_cfg80211_report_obss_beacon(a, b, c, d, e) do { } while (0)
#define trace_cfg80211_tdls_oper_request(a, b, c, d, e) do { } while (0)
#define trace_cfg80211_scan_done(a, b) do { } while (0)
#define trace_cfg80211_sched_scan_results(a, b) do { } while (0)
#define trace_cfg80211_sched_scan_stopped(a, b) do { } while (0)
#define trace_cfg80211_get_bss(a, b, c, d, e, f, g) do { } while (0)
#define trace_cfg80211_inform_bss_frame(a, b, c, d) do { } while (0)
#define trace_cfg80211_return_bss(a) do { } while (0)
#define trace_cfg80211_report_wowlan_wakeup(a, b, c) do { } while (0)
#define trace_cfg80211_ft_event(a, b, c) do { } while (0)
#define trace_cfg80211_stop_iface(a, b) do { } while (0)
#define trace_cfg80211_tx_mgmt_expired(a, b, c) do { } while (0)
#define trace_cfg80211_control_port_tx_status(a, b, c) do { } while (0)
#define trace_cfg80211_rx_control_port(a, b, c) do { } while (0)
#define trace_cfg80211_update_owe_info_event(a, b, c) do { } while (0)
#define trace_cfg80211_pmsr_complete(a, b, c) do { } while (0)
#define trace_cfg80211_pmsr_report(a, b, c, e) do { } while (0)
#endif /* end of CONFIG_RTOS_KERNEL_REDUCE_SIZE */
#endif /* end of RTOS_TRACE_H */
